package com.cfswt.tasksystem.mapper;

import com.cfswt.tasksystem.pojo.entity.Demand;
import com.cfswt.tasksystem.pojo.vo.DemandDetailVO;
import com.cfswt.tasksystem.pojo.vo.DemandVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DemandsMapper {
    public void addDemand(Demand demand);

    public void deleteDemand(Integer id);

    public void updateDemand(Demand demand);

    public List<Demand> selectDemandsByCompanyName(String companyName);

    public List<DemandVO> selectDemandVOByCompanyName(String companyName);

    public DemandDetailVO selectDemandDetailVOBySn(String sn);
}
